Updating

Changing input fields to number input fields and fixing bugs