Added new routes for setting data