updates the return signature code