updated admin to use PUT instead of POST