Added UPDATE functionality