Nigerian president vows to revamp security apparatus