Changes for put functionality