add put profiles method
added test for missing required fields