PUT endpoint passes tests