rake method for updating keys on db